package vista;
import java.awt.BorderLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

import javax.swing.WindowConstants;
import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class VentanaPedido extends javax.swing.JFrame {

	{
		//Set Look & Feel
		try {
			javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName());
		} catch(Exception e) {
			e.printStackTrace();
		}
	}

	private JPanel panVentanaPedido;
	private JLabel lblCliente;
	private JTextField txtNombreCliente;
	private JTextField txtFechaPedido;
	private JLabel lblFechaPedido;
	private JTextField txtNumeroPedido;
	private JLabel lblNumeroPedido;

	/**
	* Auto-generated main method to display this JFrame
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				VentanaPedido inst = new VentanaPedido();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}
	
	public VentanaPedido() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			getContentPane().setLayout(null);
			{
				panVentanaPedido = new JPanel();
				getContentPane().add(panVentanaPedido, "Center");
				panVentanaPedido.setBounds(0, 0, 667, 451);
				panVentanaPedido.setLayout(null);
				{
					lblNumeroPedido = new JLabel();
					panVentanaPedido.add(lblNumeroPedido);
					lblNumeroPedido.setText("N° Pedido:");
					lblNumeroPedido.setBounds(402, 39, 72, 15);
				}
				{
					txtNumeroPedido = new JTextField();
					panVentanaPedido.add(txtNumeroPedido);
					txtNumeroPedido.setBounds(490, 27, 79, 27);
				}
				{
					lblCliente = new JLabel();
					panVentanaPedido.add(lblCliente);
					lblCliente.setText("Nombre Cliente:");
					lblCliente.setBounds(41, 128, 114, 17);
				}
				{
					txtNombreCliente = new JTextField();
					panVentanaPedido.add(txtNombreCliente);
					txtNombreCliente.setBounds(167, 123, 264, 27);
				}
				{
					lblFechaPedido = new JLabel();
					panVentanaPedido.add(lblFechaPedido);
					lblFechaPedido.setText("Fecha:");
					lblFechaPedido.setBounds(402, 66, 46, 17);
				}
				{
					txtFechaPedido = new JTextField();
					panVentanaPedido.add(txtFechaPedido);
					txtFechaPedido.setBounds(490, 61, 79, 27);
				}
			}
			pack();
			this.setSize(677, 481);
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
	}

}
